import {mapGetters} from 'vuex'
export default {
  data(){
    return {
      courseName:'',
      teacherName:'',
      tableDataLoading:false,
      tableData:[],
      searchLoading:false,
      loading:false
    }
  },
  computed:{
    ...mapGetters(['userId'])
  },
  methods:{
    async loadCourse(){
      let g=this;
      return g.$ajaxGet('/course/getCourseListByKeyWords',{courseName:g.courseName,teacherName:g.teacherName},{isLoading:false});
    }
  }




}
